projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e402f45
)
(ecomplete-add-item): In Emacs, use float-time.
author
Glenn Morris
<rgm@gnu.org>
Wed, 2 Sep 2009 03:26:30 +0000
(
03:26
+0000)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 2 Sep 2009 03:26:30 +0000
(
03:26
+0000)
lisp/gnus/ecomplete.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/ecomplete.el
b/lisp/gnus/ecomplete.el
index fd9dfa63b6d1593cc7c2a0991c5b7868d6b43546..c2a22e3230c2e952502791f686bdfcf532ed0065 100644
(file)
--- a/
lisp/gnus/ecomplete.el
+++ b/
lisp/gnus/ecomplete.el
@@
-56,7
+56,9
@@
(defun ecomplete-add-item (type key text)
(let ((elems (assq type ecomplete-database))
(now (string-to-number
- (format "%.0f" (time-to-seconds (current-time)))))
+ (format "%.0f" (if (featurep 'xemacs)
+ (time-to-seconds (current-time))
+ (float-time)))))
entry)
(unless elems
(push (setq elems (list type)) ecomplete-database))